package com.starry.chat.logic.model

import com.google.gson.annotations.SerializedName

data class ChatResponseBean(
    @SerializedName("id")
    var id: String? = null,

    @SerializedName("object")
    var `object`: String? = null,

    @SerializedName("created")
    var created: Int? = null,

    @SerializedName("result")
    var result: String? = null,

    @SerializedName("is_truncated")
    var isTruncated: Boolean? = null,

    @SerializedName("need_clear_history")
    var needClearHistory: Boolean? = null,

    @SerializedName("usage")
    var usage: UsageDTO? = null
) {
    data class UsageDTO(
        @SerializedName("prompt_tokens")
        var promptTokens: Int? = null,

        @SerializedName("completion_tokens")
        var completionTokens: Int? = null,

        @SerializedName("total_tokens")
        var totalTokens: Int? = null
    )
}